    <script type="text/javascript">
      google.load("visualization", "1", {packages:["corechart"]});
      //google.setOnLoadCallback(drawChart);
      $( document ).ready( sbDrawChart);
      function sbDrawChart() {
        var sbdata = google.visualization.arrayToDataTable([
        	['Datum','Fertig','Idealline'],
			<% data=getSprintBacklogLineChartData
			data.each_pair do |key, array| %>
				['<%= key %>',<% array.each do |a| %><%= a %>,<% end %>],
			<% end %>
        ]);

        var sboptions = {
          title: 'UserStories'
        };

        var sbchart = new google.visualization.LineChart(document.getElementById('sprintChart'));
        sbchart.draw(sbdata, sboptions);
      }
    </script>